package com.shop;

import com.shop.loan.proxy.LoginMsgCodeProxy;
import com.shop.loan.proxy.UCloudOosProxy;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import xyz.erupt.core.annotation.EruptAttachmentUpload;
import xyz.erupt.core.annotation.EruptScan;
import xyz.erupt.upms.fun.EruptLogin;


@Slf4j
@EruptLogin(LoginMsgCodeProxy.class)
@MapperScan("com.shop.loan.mapper")
@ServletComponentScan()
@EnableScheduling
@EnableAsync
@EntityScan
@EruptScan
@SpringBootApplication
@EruptAttachmentUpload(UCloudOosProxy.class)
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
